<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/jquery.min.js"></script>
</head>
<body>
    <div>
        1
    </div>
    <div>
        <a href="">3</a>
        <div>
            2
            <!-- ${name} -->
        </div>
    </div>
</body>

<script>
    let set = new Set([1,4, 2, 3, 4, 4,5,7,7,2]);
    console.log(set)
    $(function(){
        let nameTW = '蔡英文';
        let local = '台湾';
        // 简化了js的拼接操作
        $('body').append(`<div><p>${nameTW}</p><span>${local}</span></div>`)
    })
</script>
</html>